package org.PropertyManageMentSystem.Data;

import java.util.ArrayList;

public class Worker {
    public enum WorkerState{
        free,
        busy,
        absent
    }
    private Long workerId;
    private String name;
    private String tel;
    private WorkerState state;

    public Worker(Long workerId, String name, String tel, WorkerState state) {
        this.workerId = workerId;
        this.name = name;
        this.tel = tel;
        this.state = state;
    }

    public Long getWorkerId() {
        return workerId;
    }

    public String getName() {
        return name;
    }

    public String getTel() {
        return tel;
    }

    public WorkerState getState() {
        return state;
    }

    public void setState(WorkerState state) {
        this.state = state;
    }
}
